package com.t.bricks.bussiness.db.entity.customeraccountappeal.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 账号申诉'CustomerAccountAppeal'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 * @author HuangXinBian
 */
@ApiModel("账号申诉CustomerAccountAppeal")
@DataInfo(sDbName="BricksMall", sTableName="CustomerAccountAppeal")
public class CustomerAccountAppealBase implements Serializable {

	private static final long serialVersionUID = 1L;// 使用rmi时需修改

	/**
	 * 记录编号
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="uId", sComment="记录编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="记录编号", example="", position=0)
	//[end]
	protected String uId;

	/**
	 * 顾客编号
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="sCustomerId", sComment="顾客编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="顾客编号", example="", position=1)
	//[end]
	protected String sCustomerId;

	/**
	 * 联系电话
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="sPhone", sComment="联系电话", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=20, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="联系电话", example="", position=2)
	//[end]
	protected String sPhone;

	/**
	 * 验证码
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="sCode", sComment="验证码", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=10, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="验证码", example="", position=3)
	//[end]
	protected String sCode;

	/**
	 * 申述内容
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="sContent", sComment="申述内容", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="申述内容", example="", position=4)
	//[end]
	protected String sContent;

	/**
	 * 审核人编号
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="sAuditingId", sComment="审核人编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="审核人编号", example="", position=5)
	//[end]
	protected String sAuditingId;

	/**
	 * 审核人名称
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="sAuditingName", sComment="审核人名称", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="审核人名称", example="", position=6)
	//[end]
	protected String sAuditingName;

	/**
	 * 结果描述
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="sFruit", sComment="结果描述", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=7 )
	@ApiModelProperty(value="结果描述", example="", position=7)
	//[end]
	protected String sFruit;

	/**
	 * 回访人
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="sVisitName", sComment="回访人", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=30, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="回访人", example="", position=8)
	//[end]
	protected String sVisitName;

	/**
	 * 回访时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="dVisitTime", sComment="回访时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=9 )
	@ApiModelProperty(value="回访时间", example="", position=9)
	//[end]
	protected Date dVisitTime;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=10 )
	@ApiModelProperty(value="备注", example="", position=10)
	//[end]
	protected String sMemo;

	/**
	 * 创建人
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="sCreator", sComment="创建人", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000000", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=11 )
	@ApiModelProperty(value="创建人", example="00000000", position=11)
	//[end]
	protected String sCreator;

	/**
	 * 创建日期
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="dCreateDate", sComment="创建日期", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=12 )
	@ApiModelProperty(value="创建日期", example="", position=12)
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000000", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=13 )
	@ApiModelProperty(value="修改人", example="00000000", position=13)
	//[end]
	protected String sModifieder;

	/**
	 * 修改日期
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="dModifiedDate", sComment="修改日期", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=14 )
	@ApiModelProperty(value="修改日期", example="", position=14)
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态(枚举,1:审核中;2:不通过;3:通过)
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="iState", sComment="状态(枚举,1:审核中;2:不通过;3:通过)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=100, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=15 )
	@ApiModelProperty(value="状态(枚举,1:审核中;2:不通过;3:通过)", example="1", position=15)
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=100, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=16 )
	@ApiModelProperty(value="序号", example="1", position=16)
	//[end]
	protected Integer iIndex;

	/**
	 * 版本
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="CustomerAccountAppeal",
		sName="iVersion", sComment="版本", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=100, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=17 )
	@ApiModelProperty(value="版本", example="1", position=17)
	//[end]
	protected Integer iVersion;

	/**
	 * 取 记录编号
	 * @return String
	 */
	public String getuId() {
		return uId;
	}

	/**
	 * 设置记录编号
	 * @param uId
	 */
	public void setuId(String uId) {
		this.uId = uId;
	}

	/**
	 * 取 顾客编号
	 * @return String
	 */
	public String getsCustomerId() {
		return sCustomerId;
	}

	/**
	 * 设置顾客编号
	 * @param sCustomerId
	 */
	public void setsCustomerId(String sCustomerId) {
		this.sCustomerId = sCustomerId;
	}

	/**
	 * 取 联系电话
	 * @return String
	 */
	public String getsPhone() {
		return sPhone;
	}

	/**
	 * 设置联系电话
	 * @param sPhone
	 */
	public void setsPhone(String sPhone) {
		this.sPhone = sPhone;
	}

	/**
	 * 取 验证码
	 * @return String
	 */
	public String getsCode() {
		return sCode;
	}

	/**
	 * 设置验证码
	 * @param sCode
	 */
	public void setsCode(String sCode) {
		this.sCode = sCode;
	}

	/**
	 * 取 申述内容
	 * @return String
	 */
	public String getsContent() {
		return sContent;
	}

	/**
	 * 设置申述内容
	 * @param sContent
	 */
	public void setsContent(String sContent) {
		this.sContent = sContent;
	}

	/**
	 * 取 审核人编号
	 * @return String
	 */
	public String getsAuditingId() {
		return sAuditingId;
	}

	/**
	 * 设置审核人编号
	 * @param sAuditingId
	 */
	public void setsAuditingId(String sAuditingId) {
		this.sAuditingId = sAuditingId;
	}

	/**
	 * 取 审核人名称
	 * @return String
	 */
	public String getsAuditingName() {
		return sAuditingName;
	}

	/**
	 * 设置审核人名称
	 * @param sAuditingName
	 */
	public void setsAuditingName(String sAuditingName) {
		this.sAuditingName = sAuditingName;
	}

	/**
	 * 取 结果描述
	 * @return String
	 */
	public String getsFruit() {
		return sFruit;
	}

	/**
	 * 设置结果描述
	 * @param sFruit
	 */
	public void setsFruit(String sFruit) {
		this.sFruit = sFruit;
	}

	/**
	 * 取 回访人
	 * @return String
	 */
	public String getsVisitName() {
		return sVisitName;
	}

	/**
	 * 设置回访人
	 * @param sVisitName
	 */
	public void setsVisitName(String sVisitName) {
		this.sVisitName = sVisitName;
	}

	/**
	 * 取 回访时间
	 * @return Date
	 */
	public Date getdVisitTime() {
		return dVisitTime;
	}

	/**
	 * 设置回访时间
	 * @param dVisitTime
	 */
	public void setdVisitTime(Date dVisitTime) {
		this.dVisitTime = dVisitTime;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建人
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建人
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建日期
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建日期
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改日期
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改日期
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态(枚举,1:审核中;2:不通过;3:通过)
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态(枚举,1:审核中;2:不通过;3:通过)
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

	/**
	 * 复制对象
	 * @param source 数据源
	 * @return CustomerAccountAppealBase
	 */
	public static CustomerAccountAppealBase copy(CustomerAccountAppealBase source) {
		if (null == source) {
			return null;
		}
		
		CustomerAccountAppealBase target = new CustomerAccountAppealBase();
		target.setuId(source.getuId());
		target.setsCustomerId(source.getsCustomerId());
		target.setsPhone(source.getsPhone());
		target.setsCode(source.getsCode());
		target.setsContent(source.getsContent());
		target.setsAuditingId(source.getsAuditingId());
		target.setsAuditingName(source.getsAuditingName());
		target.setsFruit(source.getsFruit());
		target.setsVisitName(source.getsVisitName());
		target.setdVisitTime(source.getdVisitTime());
		target.setsMemo(source.getsMemo());
		target.setsCreator(source.getsCreator());
		target.setdCreateDate(source.getdCreateDate());
		target.setsModifieder(source.getsModifieder());
		target.setdModifiedDate(source.getdModifiedDate());
		target.setiState(source.getiState());
		target.setiIndex(source.getiIndex());
		target.setiVersion(source.getiVersion());

		return target;
	}
	
	/**
	 * 克隆对象
	 * @return CustomerAccountAppealBase
	 */
	public CustomerAccountAppealBase clone() {
		return copy(this);
	}
	
}
